#ifndef THREAD_HANDLING_H
#define THREAD_HANDLING_H

#include <pthread.h>

// 创建并启动线程的封装
int create_thread(pthread_t *thread, void* (*function)(void*), void* arg);

// 线程销毁的封装
void destroy_thread(pthread_t thread);

#endif // THREAD_HANDLING_H